intersection of two sorted arrays